package com.joysuch.wwyt.workflow.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import com.joysuch.wwyt.common.entity.UserDataEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author jwk
 * @since 2021-06-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wwyt_workflow_process_print_template")
@ApiModel(value = "WorkflowProcessPrintTemplate对象", description = "")
public class WorkflowProcessPrintTemplate extends UserDataEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "模板名称")
    private String templateName;

    @ApiModelProperty(value = "版本号")
    private String templateVersion;

    @ApiModelProperty(value = "模板内容JSON")
    private String templateJson;

    @ApiModelProperty(value = "是否老版本 0否 1是")
    private Integer oldVersion;

    @ApiModelProperty(value = "流程Id")
    private Long processId;

    @ApiModelProperty(value = "默认模板:1代表默认")
    private Integer defaultTemplate;


}
